package com.youwe1.wiki.req;

import lombok.Data;

import javax.validation.constraints.Max;

@Data
public class PageReq {
    private int page = 1;

    //    @Null(message = "每页条数不能为空")
    @Max(value = 1000, message = "每页条数不能超过1000条")
    private int size = 5;
}
